

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
    publisher_node = Node(
        package="publisher", # 功能包名
        executable="publisher_node" # 可执行节点名
    )
    subscription_node = Node(
        package="subscription",
        executable="subscription_node"
    )
    
    launch_description = LaunchDescription(
        [publisher_node, subscription_node])
    
    return launch_description
